home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Science / proFit FPU 4.1.2 Demo / ProFit Help / ProFit Help.rsrc / PICT_2154_SYNTAX_ procedure derivatives.png < prev    next >
Portable Network Graphic  |  1993-05-27  |  85KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky
OCR: yoy a1 aa The pr derivatives is optional. You can define ay to speed dn fitting with the Marquardt-algorithm. (2x2) Marquardt-algorithm uses the Da2partial derivatives of function with respect to its parameters. You can provide them in the procedure derivatives. IT you do not define this procedure, they will be calculated numerically This makes fitting slower. Predefined variables: the functions argument. a[i] the array of the parameters. dyda[i] the array where the partial derivatives are returned. Example: The function has the derivatives They are implemented as follows: procedure derivatives; begin dyda[1] sin(a[2]*x*x); dvda[2] a[1] x*x cos(a[2]*x*x); end; For more informations and some hints on how to make this definitions faster see the proFit user manual. a2x3 Durirgty hex2 aa2parti ...